//
//  FirstDatax.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/08/30
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "FirstDatax.h"
#import "FirstTopimg.h"

@implementation FirstDatax
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"topimg"]) {
        NSMutableArray<FirstTopimg *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            FirstTopimg *topimg = [FirstTopimg modelWithDic:dic];
            [array addObject:topimg];
        }
        self.topimg = array;
    }
}
@end
